﻿using System.Collections.Generic;

namespace Wicture.EPC.Common
{
    public class BrandDictionary
    {
        private static IDictionary<string, string> dic = new Dictionary<string, string> {
            { "bmw", "宝马" },
            { "chevrolet", "雪佛兰"},
            { "cadillac", "凯迪拉克"},
            { "buick", "别克"},
            { "bjhd", "现代"},
            { "jac", "江淮"},
            { "mg", "名爵"},
            { "roewe", "荣威"},
            { "nissan", "日产"},
            { "infiniti", "英菲尼迪"},
            { "honda", "本田"},
            { "acura", "讴歌"},
            { "mazda", "长安马自达"},
            { "mazda_yq", "一汽马自达"},
            { "mini", "MINI"},
            { "rolls_royce", "劳斯莱斯"},
            { "zinoro", "之诺"},
            { "vw", "大众"},
            { "audi", "奥迪"},
            { "porsche", "保时捷"},
            { "seat", "西雅特"},
            { "skoda", "斯柯达"},
            { "benz", "奔驰"},
            { "smart", "Smart"},
            { "venucia", "启辰"},
            { "toyota", "丰田"},
            { "lexus", "雷克萨斯"},
            { "jaguar", "捷豹"},
            { "landrover", "路虎"},
            { "ford","福特"},
            { "haval","哈弗"},
            { "wey","魏派"},
            { "gwm","长城"},
            { "volvo","沃尔沃"},
            { "ora","欧拉"},
            { "changan","长安"},
            { "sgmw","五菱"},
            { "baojun","宝骏"},
            {"byd","比亚迪" },
            {"citroen","雪铁龙" },
            {"ds","DS" },
            {"peugeot","标致" },
            {"changan_suzuki","长安铃木" },
            { "maybach","迈巴赫"},
            { "kia","起亚"},
            {"lynkco","领克" },
            {"dfsk","东风小康" },
            {"dffg","东风风光" },
            {"trumpchi","广汽传祺" },
            {"geely","吉利" },
            {"haima","海马" },
            {"soueast","东南" },
            {"bjev","北汽新能源" },
            {"tesla","特斯拉" },
            {"mitsubishi","三菱" },
            {"baic","北京汽车" },
            {"shenbao","北汽绅宝" },
            {"saab","萨博" },
            {"leop","长丰猎豹" },
            {"chrysler","克莱斯勒" },
            {"jeep","Jeep(进口)" },
            {"dodge","道奇" },
            {"fiat","菲亚特" },
            {"subaru","斯巴鲁" },
            {"astonmartin","阿斯顿马丁" },
            {"bentley","宾利" },
            {"ferrari","法拉利" },
            {"lamborghini","兰博基尼" },
            {"maserati","玛莎拉蒂" },
            {"plymouth","普利茅斯"},
            {"alfaromeo","阿尔法罗密欧"},
            {"jeep_cn","Jeep(中国)"}
        };
        public static string GetName(string brandCode)
        {
            if (dic.Keys.Contains(brandCode))
            {
                return dic[brandCode];
            }
            else
            {
                return "";
            }
        }

        public static bool ContainsKey(string brandCode)
        {
            return dic.ContainsKey(brandCode);
        }
    }
}
